package com.bgds.sys.rbac.dao;

import com.bgds.sys.common.base.BaseDao;
import com.bgds.sys.rbac.domain.UserRole;
import org.springframework.data.jpa.repository.Modifying;

/**
 * @author lj
 * 用户角色持久层
 */
public interface UserRoleDao extends BaseDao<UserRole,Long> {

   /**
    * 删除用户
    * @param userId
    */
   @Modifying
   void deleteByUserId(Long userId);


}
